<h1>登录</h1>
<div id="main" role="main" class="m-default">

		<article>
		<div style="color:red"><?php echo validation_errors(); if(isset($login_error)) echo $login_error;?></div>
		<form action="/member/login" method="post" accept-charset="utf-8">
			<?php  
			echo form_label('用户名', 'username');
			echo "<div>", form_input(array('name'=>'username','id'=>'username', 'class'=>"login-input")), "<span id='err_username'></span></div>";
			
			echo form_label('密码', 'password');
			echo "<div>", form_password(array('name'=>'password', 'id'=>'password',  'class'=>"login-input")), "</div>";
			
			?>
			<div style="margin-top: 20px;padding-left: 80px;">
				<input type="submit" id="sbmLogin" value="登录" class="btn-all corner-all" />
				<!--<input type="reset" value="取消" class="btn-all corner-all" />-->
			</div>
		</form>
		</article>
	</div><!-- endof main -->
	
	<aside id="side-right">
	
		<h3>登录</h3>
		<p>注册可发布</p>	
		<a href="javascript:void(0)" id="obj">Test</a>
	</aside>